package com.zxh.zhenxihuan.mapper;

import com.zxh.zhenxihuan.entity.ShangJia;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ShangjiaMapper {
    /**
     * 查询重复电话
     */
    int is_tel_repeat(String tel);
    /**
     * 获得总数
     */
    Integer getSum();
    /**
     * 分页
     */
    List<ShangJia> find_shangjia(@Param("start") Integer start, @Param("end") Integer end);
}
